package com.wsc.personalblog.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.time.LocalDateTime;
import java.util.Date;
@ApiModel(value = "标签信息类")
public class Tag {
    @ApiModelProperty("标签id")
    private Integer id;
    @ApiModelProperty("标签名称")
    private String name;
    @ApiModelProperty("标签描述")
    private String description;
    @ApiModelProperty("标签id")
    private LocalDateTime createData;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description == null ? null : description.trim();
    }

    public LocalDateTime getCreateData() {
        return createData;
    }

    public void setCreateData(LocalDateTime createData) {
        this.createData = createData;
    }
}